package com.xmy.cultivate.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmy.cultivate.entity.StudentAtSchoolScoreDivide;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 学生所在学校分数划分 Mapper 接口
 * </p>
 *
 * @author Coly
 * @since 2023-04-25
 */
@Mapper
public interface StudentAtSchoolScoreDivideMapper extends BaseMapper<StudentAtSchoolScoreDivide> {
    @Select("select * from student_at_school_score_divide ${ew.customSqlSegment}")
    public abstract IPage<StudentAtSchoolScoreDivide> allStudentScore(IPage<?> page, @Param(Constants.WRAPPER) Wrapper wrapper);
}
